﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace popLib.CustomeControl
{
    public partial class InputDialog : Form
    {
        public string FormTitle { get { return this.Text; } set { this.Text = value; } }
        public string InputTitle { get { return lbl_InputTitle.Text; } set { lbl_InputTitle.Text = value; } }
        public string Message { get { return lbl_Message.Text; } set { lbl_Message.Text = value; } }
        public string DialogContent { get { return txt_DialogContent.Text; } set { txt_DialogContent.Text = value; } }

        public InputDialog() {}

        public InputDialog( string formTitle, string title, string message )
        {
            InitializeComponent();

            this.Text = formTitle;
            this.lbl_InputTitle.Text = title;
            this.lbl_Message.Text = message;
            
        }
    }
}
